package com.wsoft.bpm.vo;

import com.wsoft.bpm.node.FormProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 审批节点数据
 *
 * @Author zhonglj
 * @Date 2024-10-14 9:36
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class ApprovalNodeDataVO {
    @Schema(description = "业务主键")
    private String id;
    @Schema(description = "可执行结果")
    private List<String> operations;
    @Schema(description = "表单属性")
    private List<FormProperty> formProperties;
    @Schema(description = "分支选择")
    private List<NextSequenceFlowVO> nextSequenceFlows;
    @Schema(description = "选择分支类型")
    private String branchType;
    @Schema(description = "后续用户任务是否自选用户")
    private Boolean optionalPersonnel;
    @Schema(description = "任务拾取状态:0自动拾取、1需要拾取未拾取、2需要拾取已拾取")
    private Integer claimStatus;

    @Schema(description = "业务唯一键")
    private String businessKey;
    @Schema(description = "业务类型")
    private String businessType;
    @Schema(description = "业务地址")
    private String businessValue;
    @Schema(description = "业务参数")
    private String businessParam;
}